<?php

declare(strict_types=1);
/**
 * 
 */
namespace WanZ\App\User\Model;

use Hyperf\Database\Model\Concerns\CamelCase;
use MoChat\Framework\Model\AbstractModel;

/**
 * @property int $id
 * @property int $userId
 * @property string $nickname
 * @property string $headImgUrl 
 * @property string $wxOpenid
 * @property string $wxMiniOpenid
 * @property int $subscribe
 * @property string $wxUnionid
 * @property string $aliOpenid
 * @property int $wxBalance
 * @property int $aliBalance 
 * @property int $isOpenChargeSafeguard  
 * @property int $isOpenChargeSafeguardNotice
 * @property int $isShowClaims
 * @property string $isChargeNotice
 * @property \Carbon\Carbon $createdAt
 * @property \Carbon\Carbon $updatedAt
 */
class WzUserAttribute extends AbstractModel
{
    use CamelCase;

    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'wz_user_attributes';

    protected $connection = 'default'; 
    
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [];

    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected $casts = ['id' => 'integer', 'user_id' => 'integer', 'nickname' => 'string', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
}

